package com.leruan.aasimp.dao;

import java.util.List;
import java.util.Map;

import com.leruan.aasimp.entity.CarCompanyInfo;
import com.leruan.aasimp.entity.CarInsurance;

public interface CarInsuranceDao {
	
	List<CarInsurance> findAll();

	void add(CarInsurance carInsurance);

	CarInsurance findById(long findById);

	void update(CarInsurance carInsurance);

	void delete(CarInsurance carInsurance);

	List<CarInsurance> getByList(Map<String, String> map, int pageNo);

	Long getTotal(Map<String, String> map);

	CarInsurance findByUserId(long parseLong);

	CarInsurance findByUserId(String id, String parseLong);

}
